﻿namespace jQube.Web
{
    using System.IO;

    internal interface IHttpResponse
    {
        IHttpCachePolicy Cache { get; }
        string ContentType { get; set; }
        Stream Filter { get; set; }
        TextWriter Output { get; }

        void AddHeader(string name, string value);
        void BinaryWrite(byte[] buffer);
        void Clear();
        void End();
        void Flush();
        void Write(string s);
    }
}
